<?php

//<editor-fold defaultstate="collapsed" desc="License & Copyright">
/*
 * @license
 */

/**
 *
 * @author Jevgeni Geimanen (jevgeni.geimanen@gmail.com)
 */
//</editor-fold>
class SCCheckboxFormField extends FormField {

    //<editor-fold defaultstate="collapsed" desc="Overrides">
    public function CollectMainTagAttributes(&$attributes) {
        $attributes['type'] = 'checkbox';
        $attributes['value'] = $this->getRenderOptionValue();
        return parent::CollectMainTagAttributes($attributes);
    }
    
    public function getFieldType() {
        return self::TYPE_CHECKBOX;
    }
    protected function getIsMultiValue() {
        return true;
    }
    //</editor-fold>

}

?>
